home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000304_news@newsmaster….columbia.edu _Sat Sep 6 16:00:22 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA07730
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 6 Sep 1997 16:00:21 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id QAA09261
  7.     for kermit.misc@watsun; Sat, 6 Sep 1997 16:00:21 -0400 (EDT)
  8. Path: news.columbia.edu!panix!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!feta.direct.ca!newsfeed.direct.ca!op.net!not-for-mail
  9. From: root@candle.pha.pa.us
  10. Newsgroups: comp.terminals,comp.unix.aix,comp.protocols.kermit.misc
  11. Subject: Re: VT320 emulation
  12. Date: 6 Sep 1997 19:58:38 GMT
  13. Organization: a consultant's basement
  14. Lines: 80
  15. Message-ID: <5uscle$mv9$1@picasso.op.net>
  16. References: <340AB90E.2781@atess.bel.alcatel.be> <5ukmsb$7uo$1@vixen.cso.uiuc.edu> <5umll1$874$1@apakabar.cc.columbia.edu> <tsw-0409971206260001@cypher.cagent.com> <5unadi$kd2$1@apakabar.cc.columbia.edu>
  17. NNTP-Posting-Host: s1-03.ppp.op.net
  18. Mime-Version: 1.0
  19. Content-Type: text/plain; charset=US-ASCII
  20. Content-Transfer-Encoding: 8bit
  21. X-Newsreader: TIN [UNIX 1.3 unoff BETA 970424; i386 BSD/OS 3.0]
  22. Xref: news.columbia.edu comp.terminals:11231 comp.unix.aix:119407 comp.protocols.kermit.misc:7625
  23.  
  24. Here is what I use in my XTerm init file to do a vt220 in an xterm.  I
  25. start the xterm like this:
  26.  
  27. xterm $XTERMFLAGS +rw +sb +ls $@ -tm 'erase ^? intr ^c' -name vt220 \
  28.         -title vt220 -tn xterm-220 "$@" &
  29.  
  30. ---------------------------------------------------------------------------
  31.  
  32. XTerm*VT100.Translations: #override \n\
  33.     <Key>Home: string(0x1b) string("[3~") \n \
  34.     <Key>End: string(0x1b) string("[4~") \n
  35. vt220*VT100.Translations: #override \n\
  36. ~Shift    <Key>F1: string("OP") \n \
  37. ~Shift    <Key>F2: string("OQ") \n \
  38. ~Shift    <Key>F3: string("OR") \n \
  39. ~Shift    <Key>F4: string("OS") \n \
  40. ~Shift    <Key>F5: string("~") \n \
  41. ~Shift    <Key>F6: string("~") \n \
  42. ~Shift    <Key>F7: string("~") \n \
  43. ~Shift    <Key>F8: string("~") \n \
  44. ~Shift    <Key>F9: string("~") \n \
  45. ~Shift    <Key>F10: string("~") \n \
  46. ~Shift    <Key>F11: string("~") \n \
  47. ~Shift    <Key>F12: string("~") \n \
  48. Shift    <Key>F1: string("~") \n \
  49. Shift    <Key>F2: string("~") \n \
  50. Shift    <Key>F3: string("~") \n \
  51. Shift     <Key>F4: string("~") \n \
  52. Shift    <Key>F5: string("~") \n \
  53. Shift    <Key>F6: string("~") \n \
  54. Shift    <Key>F7: string("~") \n \
  55. Shift    <Key>F8: string("~") \n \
  56. Shift    <Key>F9: string("~") \n \
  57. Shift    <Key>F10: string("~") \n \
  58. Shift    <Key>F11: string("~") \n \
  59. Shift    <Key>F12: string("~") \n \
  60.     <Key>Print: string(0x1b) string("[32~") \n\
  61.     <Key>Cancel: string(0x1b) string("[33~") \n\
  62.     <Key>Pause: string(0x1b) string("[34~") \n\
  63.     <Key>Insert: string(0x1b) string("[2~") \n\
  64.     <Key>Delete: string(0x1b) string("[3~") \n\
  65.     <Key>Home: string(0x1b) string("[1~") \n\
  66.     <Key>End: string(0x1b) string("[4~") \n\
  67.     <Key>Prior: string(0x1b) string("[5~") \n\
  68.     <Key>Next: string(0x1b) string("[6~") \n\
  69.     <Key>BackSpace: string(0x7f) \n\
  70.     <Key>Num_Lock: string(0x1b) string("OP") \n\
  71.     <Key>KP_Divide: string(0x1b) string("Ol") \n\
  72.     <Key>KP_Multiply: string(0x1b) string("Om") \n\
  73.     <Key>KP_Subtract: string(0x1b) string("OS") \n\
  74.     <Key>KP_Add: string(0x1b) string("OM") \n\
  75.     <Key>KP_Enter: string(0x1b) string("OM") \n\
  76.     <Key>KP_Decimal: string(0x1b) string("On") \n\
  77.     <Key>KP_0: string(0x1b) string("Op") \n\
  78.     <Key>KP_1: string(0x1b) string("Oq") \n\
  79.     <Key>KP_2: string(0x1b) string("Or") \n\
  80.     <Key>KP_3: string(0x1b) string("Os") \n\
  81.     <Key>KP_4: string(0x1b) string("Ot") \n\
  82.     <Key>KP_5: string(0x1b) string("Ou") \n\
  83.     <Key>KP_6: string(0x1b) string("Ov") \n\
  84.     <Key>KP_7: string(0x1b) string("Ow") \n\
  85.     <Key>KP_8: string(0x1b) string("Ox") \n\
  86.     <Key>KP_9: string(0x1b) string("Oy") \n
  87.  
  88. !    <Key>Up: string(0x1b) string("[A") \n\
  89. !    <Key>Down: string(0x1b) string("[B") \n\
  90. !    <Key>Right: string(0x1b) string("[C") \n\
  91. !    <Key>Left: string(0x1b) string("[D") \n\
  92.  
  93. *visualBell:    true
  94. *saveLines:    1000
  95. *cursesemul:    true
  96. *scrollKey: true
  97. *scrollBar: true
  98.  
  99. -- 
  100. Bruce Momjian                          |  830 Blythe Avenue
  101. root@candle.pha.pa.us                  |  Drexel Hill, Pennsylvania 19026 
  102.   +  If your life is a hard drive,     |  (610) 353-9879(w) 
  103.   +  Christ can be your backup.        |  (610) 853-3000(h)